# -------------------------------------------------------------------
#       -*- coding: utf-8 -*-
#   @Project    :   studentSystem
#   @File       :   打包列表.py
#   @Author     :   WANGYU
#   @Time       :   2021-08-31 16:18:03
#   @Software   :   PyCharm
#   @Desc       :   
# -------------------------------------------------------------------


constellation = ['白羊座', '金牛作', '双子座', '巨蟹座']
nature = ['积极乐观', '固执内向', '圆滑事故', '多愁善感']

d = dict(zip(constellation, nature))
# a = dict(zip(constellation, nature))
# a = zip(constellation, nature)
# for item in a:
# print(item)
# print(item, a[item])
print(d)
key = input('请输入您的星座名称：')
flag = True
for item in d:
    if key == item:
        flag=True
        print(key, '的性格特点为：', d.get(key))
        break
    else:
        # print('输入有误！')
        flag = False

if not flag:
    print('输入有误！')
